package com.kpmg.datalake.common.enums;

/**
 * @author Alex.zhao [alex.zhao@kpmg.com]
 * @since Created on azhao6 on 2018-08-17 20:51:48 系统参数
 */
public enum SystemParamsEnum {
  /**
   * 创建用户默认表空间
   */
  DATA_LAKE_CREATE_TABLE_SPACE("DataLakeCreateTablespace", "创建用户默认表空间"),
  /**
   * 用户表空间增加数据文件
   */
  DATA_LAKE_ALTER_TABLE_SPACE("DataLakeAlterTablespace", "用户表空间增加数据文件"),
  /**
   * 默认表空间数量
   */
  DATA_LAKE_DEFAULT_SPACE_COUNT("DataLakeDefaultSpaceCount", "默认表空间数量"),
  /**
   * 临时表空间
   */
  DATA_LAKE_CREATE_TEMP_TABLE_SPACE("DataLakeCreateTempTablespace", "临时表空间"),
  /**
   * dataLake创建用户
   */
  DATA_LAKE_CREATE_USER("DataLakeCreateUser", "dataLake创建用户"),
  /**
   * dataLake用户授权
   */
  DATA_LAKE_USER_GRANT("DataLakeUserGrant", "dataLake用户授权"),
  /**
   * "DataLakePasswordLength","生成用户的密码长度"
   */
  DATA_LAKE_PASSWORD_LENGTH("DataLakePasswordLength", "生成用户的密码长度"),
  /**
   * "DataLakeExtendSql","dataLake扩展sql"
   */
  DATA_LAKE_EXTEND_SQL("DataLakeExtendSql", "dataLake扩展sql"),
  /**
   * "DataLakeDataFileStore","dataLake下载文件存放路径"
   */
  DATA_LAKE_DATAFILE_STORE("DataLakeDataFileStore", "dataLake下载文件存放路径"),
  /**
   * "DataLakeSqlldrCtl","datalake同步sqlldr同步控制文件"
   */
  DATA_LAKE_SQL_LDR_CTL("DataLakeSqlldrCtl", "datalake同步sqlldr同步控制文件"),
  /**
   * "DataLakeSqlldrCmd","datalake 同步脚本"
   */
  DATA_LAKE_SQL_LDR_CMD("DataLakeSqlldrCmd", "datalake 同步脚本"),
  /**
   * "DataLakeSqlldrFieldFormat","dataLake字段格式化处理"
   */
  DATA_LAKE_SQL_LDR_FIELD_FORMAT("DataLakeSqlldrFieldFormat", "dataLake字段格式化处理"),
  /**
   * "DataLakeSqlldrFieldDateFormat","dataLake日期字段格式化处理"
   */
  DATA_LAKE_SQL_LDR_FIELD_DATE_FORMAT("DataLakeSqlldrFieldDateFormat", "dataLake日期字段格式化处理"),
  /**
   * "DataLakeSqlldrHeadSeparatorFlag","dataLake表头分隔符"
   */
  DATA_LAKE_SQL_LDR_HEAD_SEPARATOR_FLAG("DataLakeSqlldrHeadSeparatorFlag", "dataLake表头分隔符"),

  /**
   * kpmg的ad服务器地址
   */
  KPMG_LADP_URL("KpmgLadpUrl","kpmg的ad服务器地址"),
  /**
   * "KpmgLadpUserName","kpmg的设置用户"
   */
  KPMG_LADP_USERNAME("KpmgLadpUserName","kpmg的设置用户"),
  /**
   * "KpmgLadpPassword","kpmg的设置密码"
   */
  KPMG_LADP_PASSWORD("KpmgLadpPassword","kpmg的设置密码"),
  /**
   * 任务调度执行允许的IP
   */
  SCHEDULE_ALLOW_IP("ScheduleAllowIp", "任务调度执行IP"),
  /**
   * DataLakeApp密码
   */
  DATA_LAKE_PROJECT_APP_PWD("DataLakeProjectAppPwd", "DataLakeApp密码"),
  /**
   * DataLakeProjectAppId
   */
  DATA_LAKE_PROJECT_APP_ID("DataLakeProjectAppId", "DataLakeProjectAppId"),
  /**
   * DATA_LAKE_PROJECT_SCREPT_ID
   */
  DATA_LAKE_PROJECT_SCREPT_ID("DataLakeProjectScreptId", "DataLakeProject的接口签名密码"),
  /**
   * "DataLakeProjectSyncDate","dataLake同步多少天之前数据"
   */
  DATA_LAKE_PROJECT_SYNC_DATE("DataLakeProjectSyncDate", "dataLake同步多少天之前数据"),
  /**
   * DataLake项目地址
   */
  DATA_LAKE_PROJECT_URL("DataLakeProjectUrl", "DataLake项目地址"),
  /**
   * "deploymentType","系统部署类型"
   */
  DEPLOYMENT_TYPE("deploymentType", "系统部署类型"),

  MAX_CONTINUOUS_LOGIN_FAILED_TIME("maxContinuousLoginFailedTime", "最大连续登录失败次数"),

  UNFREEZE_LOCK_USER_SECONDS("unfreezeLockUserSeconds", "解冻锁定用户秒数");

  private String code;
  private String display;

  SystemParamsEnum(String code, String display) {
    this.code = code;
    this.display = display;
  }

  public String getCode() {
    return code;
  }

  public String getDisplay() {
    return display;
  }
}
